* {
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  background: url('/assets/images/login_bg.jpg') no-repeat;
  background-size: cover;
}
.layui-main {
  padding-top: 20px;
}
.loginAndRegBox {
  width: 400px;
  height: 310px;
  background-color: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loginAndRegBox .title-box {
  height: 60px;
  line-height: 60px;
  text-align: center;
}
.loginAndRegBox #loginBox {
  height: 175px;
}
.loginAndRegBox #loginBox .layui-form .layui-form-item {
  padding: 0 30px;
  position: relative;
}
.loginAndRegBox #loginBox .layui-form .layui-form-item i {
  position: absolute;
  top: 10px;
  left: 40px;
}
.loginAndRegBox #loginBox .layui-form .layui-form-item input {
  padding-left: 30px;
}
.loginAndRegBox #loginBox .layui-form .layui-form-item a {
  font-size: 12px;
}
.loginAndRegBox #regBox {
  height: 228px;
}
.loginAndRegBox #regBox .layui-form .layui-form-item {
  padding: 0 30px;
  position: relative;
}
.loginAndRegBox #regBox .layui-form .layui-form-item i {
  position: absolute;
  top: 10px;
  left: 40px;
}
.loginAndRegBox #regBox .layui-form .layui-form-item input {
  padding-left: 30px;
}
.loginAndRegBox #regBox .layui-form .layui-form-item a {
  font-size: 12px;
}
